package com.cloudm.technician.ui.modules.personal.change_password

import com.cloudm.technician.data.network.PersonalApi
import com.cloudm.technician.di.PerFragment
import dagger.Module
import dagger.Provides

/**
 * 作者: wesley
 * 时间: 2017/12/26
 * 描述: 提供实例
 */
@Module
class ChangePasswordPresenterModule(private val view: ChangePasswordContract.View) {

    @PerFragment
    @Provides
    fun provideChangePasswordPresenter(personalApi: PersonalApi) = ChangePasswordPresenter(view,
            personalApi)
}